package user

import (
	"github.com/gin-gonic/gin"
	"test_singo/utils"
)

func Ping(ctx *gin.Context) {
	ctx.JSON(200, utils.Response{
		Code: 200,
		Msg:  "Pong",
	})
}

func Login(ctx *gin.Context) {
	ctx.JSON(200, utils.Response{
		Code: 200,
		Msg:  "登陆成功",
	})
}

func Logout(ctx *gin.Context) {
	ctx.JSON(200, utils.Response{
		Code: 200,
		Msg:  "登出成功",
	})
}

func Register(ctx *gin.Context) {
	ctx.JSON(200, utils.Response{
		Code: 200,
		Msg:  "注册成功",
	})
}
